<li>
  <p>
    {% if change.method == "change" %}

      {{ _('Updated description of {pkg_link} from
            <br class="line-height2"><blockquote>{old_notes}</blockquote>
            to <br class="line-height2"><blockquote>{new_notes}
            </blockquote>').format(
              pkg_link = '<a href="{pkg_url}">{pkg_name}</a>'.format(
                pkg_url = h.url_for(controller='dataset',
                                    action='read', id=change.pkg_id),
                pkg_name = change.title
              )|safe,
              old_notes = change.old_notes,
              new_notes = change.new_notes
        ) }}

    {% elif change.method == "add" %}

      {{ _('Updated description of {pkg_link}
            to <br class="line-height2"><blockquote>{new_notes}
            </blockquote>').format(
              pkg_link = '<a href="{pkg_url}">{pkg_name}</a>'.format(
                pkg_url = h.url_for(controller='dataset',
                                    action='read', id=change.pkg_id),
                pkg_name = change.title
              )|safe,
              new_notes = change.new_notes
          ) }}

    {% elif change.method == "remove" %}

      {{ _('Removed description from {pkg_link}').format(
            pkg_link = '<a href="{pkg_url}">{pkg_name}</a>'.format(
              pkg_url = h.url_for(controller='dataset',
                                  action='read', id=change.pkg_id),
              pkg_name = change.title
            )|safe
          ) }}

    {% else %}

      {{ _('No fields were updated. See the metadata diff for more details.') }}

    {% endif %}
  </p>
</li>
